package com.woniuxy.rms.pojo;

import java.util.Date;

public class Menus {
    private Integer id;

    private String title;//菜单名称

    private String href;//访问路径

    private Integer permissionId;//权限id

    private String permission;//权限

    private Integer parentId;//父菜单id

    private String spread;//状态码，前端需要

    private Date createTime;//创建时间

    private Long adminId;//创建人id

    private String adminName ;

    private Date updateTime;//更新时间

    private String icon;//图标

    private String checked;//树形菜单是否选中

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    @Override
    public String toString() {
        return "Menus{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", href='" + href + '\'' +
                ", permissionId=" + permissionId +
                ", permission='" + permission + '\'' +
                ", parentId=" + parentId +
                ", spread='" + spread + '\'' +
                ", createTime=" + createTime +
                ", adminId=" + adminId +
                ", adminName='" + adminName + '\'' +
                ", updateTime=" + updateTime +
                ", icon='" + icon + '\'' +
                ", checked='" + checked + '\'' +
                '}';
    }

    public String getChecked() {
        return checked;
    }

    public void setChecked(String checked) {
        this.checked = checked;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public Integer getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getSpread() {
        return spread;
    }

    public void setSpread(String spread) {
        this.spread = spread;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getAdminId() {
        return adminId;
    }

    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}